package soft.mapper;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import soft.pojo.Student;


@Mapper
@Repository
public interface StudentMapper {
	Student getById(String sId);
	Student login(@Param("sId") String sId, @Param("password") String password);
	Student getByName(String sName);
    boolean insert(Student bean);
    boolean update(Student bean);
    boolean deleteById(String sId);
    List<Student> getList();

}
